﻿@model BoardsIndexModel
@using Nop.Core.Infrastructure;
@using Nop.Services.Helpers;
@using Nop.Web.Models.Boards;
@{
    Layout = "~/Views/Shared/_ColumnsOne.cshtml";

    Html.AddTitleParts(T("Forum.PageTitle.Default").Text);
}
<div class="forumsmain">
    <div>
        @Html.Action("TopicBlock", "Topic", new { systemName = "ForumWelcomeMessage" })
    </div>
    <div class="clear">
    </div>
    <div class="forumsmainheader">
        <div class="currenttime">
            @(EngineContext.Current.Resolve<IDateTimeHelper>().ConvertToUserTime(@DateTime.UtcNow).ToString("F"))
        </div>
        @Html.Partial("_SearchBox")
    </div>
    <div class="clear">
    </div>
    @foreach (var forumGroup in Model.ForumGroups)
    {
        Html.RenderPartial("_ForumGroup", forumGroup);
    }
    <div class="clear">
    </div>
    @Html.Action("ActiveDiscussionsSmall")
</div>
